#!/usr/bin/env python
import cgi
import urllib
import webapp2
import jinja2
import os

from google.appengine.ext import db
from google.appengine.api import users

jinja_environment = jinja2.Environment(
  loader = jinja2.FileSystemLoader(os.path.dirname(__file__)) )

class MainHandler(webapp2.RequestHandler):
  def get(self):
    template_values = { 'maxSyllables': '5',
                        's11': '<form id="input"><input type="text"></form>',
                        's12': '_____',
                        's13': '_____',
                        's14': '_____',
                        's15': '_____',
                        's21': '_____',
                        's22': '_____',
                        's23': '_____',
                        's24': '_____',
                        's25': '_____',
                        's26': '_____',
                        's27': '_____',
                        's31': '_____',
                        's32': '_____',
                        's33': '_____',
                        's34': '_____',
                        's35': '_____'}
    template = jinja_environment.get_template('templates/index.html')  
    self.response.out.write(template.render(template_values))



app = webapp2.WSGIApplication([('/', MainHandler)
                               ], debug=True)

def main():
  run_wsgi_app(app)

if __name__ == "__main__":
  main()
